package com.shfl.servermanage.logic.mapper;

import com.shfl.servermanage.logic.bean.ReleaseLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ReleaseLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ReleaseLog record);

    int insertSelective(ReleaseLog record);

    ReleaseLog selectByPrimaryKey(Long id);

    ReleaseLog selectByPrimaryKeyWithLogicalDelete(@Param("id") Long id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByPrimaryKeySelective(ReleaseLog record);

    int updateByPrimaryKey(ReleaseLog record);

    int batchInsert(@Param("list") java.util.List<ReleaseLog> list);

    int batchInsertSelective(@Param("list") java.util.List<ReleaseLog> list, @Param("selective") ReleaseLog.Column... selective);

    int logicalDeleteByPrimaryKey(Long id);
}